﻿using System;

namespace uMember
{
    public static class uMembershipHelpers
    {
        /// <summary>
        /// Returns the date to in a format to put into a sql statement
        /// </summary>
        /// <param name="dateTime"></param>
        /// <returns></returns>
        public static string ReturnSqlFormattedDate(DateTime dateTime)
        {
            return dateTime.Date.ToString("yyyy-MM-dd HH:mm:ss");
        }
    }
}